package com.seven.Bean;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author seven
 * @Date 2020/4/24 9:33
 **/

@Component
@ConfigurationProperties(prefix = "person.dog")
@Data
public class Dog {
    private String name;
    private Integer age;
}
